package main

import "fmt"

func main() {
	arr := []int{903364, 687670, 497726, 34332, 124771, 41375, 4994, 9453, 68, 12320, 1, 24368, 1, 20869, 98, 7731, 601,
		207,
		133,
		102,
		326,
		22,
		41,
		16,
		26,
		17,
		51,
		18,
		6, 19, 7, 7, 16, 25, 56, 38, 28, 32,
		27, 18,
		5,
		3, 3, 1, 1, 2, 1, 3, 3}
	sum := 0
	for i := range arr {
		sum += arr[i]
	}
	fmt.Printf("sum=%d\n", sum)
	for i := range arr {
		fmt.Printf("%d比例   ", arr[i])
		fmt.Println(float32(arr[i]) / float32(sum) * 100)
	}
}
